package com.alibaba.travel.search.model.dto;

import com.alibaba.travel.common.model.dto.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: where
 * @Date: 2023/03/10/8:15
 * @Description: 文章搜索请求实体
 */
@ApiModel(description = "文章搜索请求实体")
public class ArticleSearchRequest extends PageRequest {
    @ApiModelProperty(value = "搜索关键词")
    private String keyword;

    @ApiModelProperty(value = "标签")
    private String tag;

    @ApiModelProperty(value = "专栏")
    private String column;

    /**
     * 更新时间
     */
    @ApiModelProperty(value="最近发布时间",name="updateTime")
    private Date updateTime;

    /**
     * 文章点赞数 热度搜索
     */
    @ApiModelProperty(value="文章点赞数",name="likesNumber")
    private Long likesNumber = Long.valueOf(0);
}
